package com.shiguiwu.springboot3.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description: 检索 + 生成
 * @author: stone
 * @date: Created by 2025/10/19 11:28
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springboot3.service
 */
@Service
public class RAGService {

    @Value("${ai.rag.topK:5}")
    private int topK;

    public String answerByRag(String question, List<String> sessionContext) {
        return "";
    }
}
